package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
* <p>
* ${table.comment} 服务接口
* </p>
*
* @author ${author}
* @since ${date}
*/
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    void add(${entity} entity);

    void updById(${entity} entity);

<#-- 遍历字段列表以找到主键 -->
<#list table.fields as field>
<#if field.keyFlag>
    void delByIds(List<${field.propertyType}> ids);

    ${entity} getDetail(${field.propertyType} id);
    <#break>
</#if>
</#list>

    IPage<${entity}> getPage(Long pageNum, Long pageSize);

}
